package cn.tedu.spring.eg2;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author Justin Parker
 * @Date 2024/8/2 0002 15:53
 * @Version 1.0
 */
public class TestMapper {
    public static void main(String[] args) {

        ApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.eg2");
        CommentMapper commentMapper = context.getBean(CommentMapper.class);

        System.out.println(commentMapper);

    }
}
